# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-pocketcdg
pkgver=0_git20220327
pkgrel=0
_commit="1559b4e309888690722a86b897582f62dd598810"
pkgdesc="PocketCDG libretro port"
url="https://github.com/libretro/libretro-pocketcdg"
arch="all"
license="MIT"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-pocketcdg/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-pocketcdg-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 pocketcdg_libretro.so "$pkgdir"/usr/lib/libretro/pocketcdg_libretro.so
}

sha512sums="
8371a641d0ae0c2b6283e4d5538fac9754b801adf866228ff167cf02df212657198f2ee1ddac9ca7169f66dc653c6e70302a2fec2b2ee5576f76f30dfe887fee  libretro-pocketcdg-1559b4e309888690722a86b897582f62dd598810.tar.gz
"
